package com.gaoshu.mapper;

import com.gaoshu.bean.Departments;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * (Departments)表数据库访问层
 *
 * @author makejava
 * @since 2020-07-27 19:23:02
 */
//关于科室的相关操作
@Mapper
public interface DepartmentsMapper {

    //模糊查询  动态查询
    public List<Departments> selectDepartments(@Param("department") String department);

    //新增科室
    public int addDepartments(Departments departments);
}